package org.dreamwork.tools.simulator.connector.data;

public enum VariableType {
    INT ("整数"),
    FLOAT ("浮点数"),
    SERIAL ("序列"),
    UUID ("UUID"),
    BOOLEAN ("布尔"),
    TEXT ("文本"),
    TIMESTAMP ("时间戳 - 长整数"),
    DATE ("日期"),
    DATETIME ("日期和时间")
    ;
    public final String displayName;
    VariableType (String displayName) {
        this.displayName = displayName;
    }

    public String getDisplayName () {
        return displayName;
    }

    public String getName () {
        return name ();
    }

    @Override
    public String toString () {
        return name () + ":" + displayName;
    }
}